table of contents
GLUTLAYERGET(3) | Library Functions Manual (local) | GLUTLAYERGET(3) |
NAME¶
glutLayerGet
—
Allows you to get some overlay state/option
variables.
LIBRARY¶
OpenGLUT - overlays
SYNOPSIS¶
#include
<openglut.h>
int
glutLayerGet
(GLenum
eWhat);
PARAMETERS¶
eWhat
Enumerated parameter ID.
DESCRIPTION¶
Returns some useful information about layers. Or, it would be useful if layers were implemented...
eWhat
may be given any of the following values:
-
GLUT_HAS_OVERLAY
-
GLUT_LAYER_IN_USE
-
GLUT_NORMAL_DAMAGED
0 unless the window system has told us that the normal layer is damaged (glutPostRedisplay() does not affect this).
-
GLUT_OVERLAY_DAMAGED
-1 if no layer in use.
-
GLUT_OVERLAY_POSSIBLE
-
GLUT_TRANSPARENT_INDEX
-1 if no layer in use.
All information relates to the
current window
and any overlay that it may have.
SEE ALSO¶
glutSetOption(3) glutGet(3) glutDeviceGet(3) glutGetModifiers(3)